
import { ref, computed } from 'vue';
import { defineStore } from 'pinia';

export const useAuthStore = defineStore('auth', () => {
  const operation = ref<any[]>([]);
  const getOperationAuth = computed(() => operation.value);
  function setOperationAuth(newOperation: any[]) {
    operation.value = newOperation;
  }
  return { operation, getOperationAuth, setOperationAuth };
});
